<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>顶部广告特效</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div id="adContainer" class="ad-container">
        <button id="hideAdBtn" class="hide-ad-btn">关闭广告</button>
        <img id="adImage" src="./img/img1.webp" alt="广告图片">
    </div>
    <div class="content">
        <p>这里是页面内容...</p>
        <div style="height: 2000px;"></div>
    </div>

    <script src="script.js"></script>
</body>
</html>